#ifndef WIDGET_H
#define WIDGET_H

#include <QWidget>
#include "publicheader.h"
#include "devconnect.h"
#include "pageone.h"
#include "pagetwo.h"


namespace Ui {
class Widget;
}

class Widget : public QWidget
{
    Q_OBJECT

public:
    explicit Widget(QWidget *parent = 0);
    ~Widget();

private slots:
    void on_BtnDevConnect_clicked();

    void on_BtnPage1_clicked();

    void on_BtnPage2_clicked();

private:
    Ui::Widget *ui;


    DevConnect *devconnect;
    PageOne *pageone;
    PageTwo *pagetwo;

    StructConnect *dataConnect=new StructConnect();



};

#endif // WIDGET_H
